<?php
function magic_function_protime($data){
	global $_G;
	$type = !IsExiest($data['type'])?"p,c":$data['type'];
	
	$name = !IsExiest($data['name'])?"":$data['name'];
	
	$ajax = !IsExiest($data['ajax'])?"":$data['ajax'];
	
	$class = !IsExiest($data['class'])?"":$data['class'];
	
	$value = !IsExiest($data['value'])?"":$data['value'];
	$display = "<script src=\"/?plugins&q=protime&name=$name&type=$type&class=$class&value=<? echo $value; ?>\" ></script>";
	
	return $display;
	
}
?>
